package org.net5ijy.commons.util.security;

/**
 * NoOperationPasswordEncoder
 *
 * @author xuguofeng
 * @date 2020/7/13 12:07
 */
public class NoOperationPasswordEncoder implements PasswordEncoder {

	@Override
	public String encode(String password) {
		return password;
	}

	@Override
	public boolean match(String password, String encryptPassword) {
		return password != null && password.equals(encryptPassword);
	}
}
